<template>
  <div>
    <div class="main">
      版本号：0.1.2

      <div class="address fle-aic" @click="jump2Gitee">
        <img src="https://pic2.zhimg.com/v2-77b1a31dc62d9e00abd0ea6cdaba5c83_xl.jpg?source=32738c0c" alt=""
          class="gitee">
        开源地址
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
    }
  },
  methods: {
    jump2Gitee() {
      const { shell } = require('electron');
      shell.openExternal("https://gitee.com/jxx353808576/water-reminder-desktop-app");
    }
  }
}
</script>
<style lang="scss">
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100vw;
  height: 100vh;
}

.address {
  cursor: pointer;
  user-select: none;

  .gitee {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
}
</style>